package cn.ainit.yz.sprk.entity;
// default package

import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * SprkItem entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="YZ_SPRK_ITEM")

public class SprkItem  implements java.io.Serializable {


    // Fields    

     private String spId;
     private String spItemId;
     private Double isSendOver;
     private String sid;
     private String hid;
     private String hname;
     private Double hprice;
     private Double hdiscount;
     private Double totalMoneyItem;
     private Double realMoneyItem;
     private Double realPrice;
     private String yinci;
     private Double tyAmount;
     private Double xcAmount;
     private Double storeAmount;
     private Double lastAmount;
     private String xtCode;
     private String sourceId;

    // Constructors

    /** default constructor */
    public SprkItem() {
    }

	/** minimal constructor */
    public SprkItem(String spId) {
        this.spId = spId;
    }
    
    
    @Column(name="SPRK_ID", unique=true, nullable=false, length=32)

    public String getSpId() {
        return this.spId;
    }
    
    public void setSpId(String spId) {
        this.spId = spId;
    }
    
    @Id 
    @Column(name="SP_ITEM_ID", unique=true, nullable=false, length=32)
    public String getSpItemId() {
		return spItemId;
	}
    
    public void setSpItemId(String spItemId) {
		this.spItemId = spItemId;
	}
    
    @Column(name="IS_SEND_OVER", precision=22, scale=0)
    public Double getIsSendOver() {
		return isSendOver;
	}
    public void setIsSendOver(Double isSendOver) {
		this.isSendOver = isSendOver;
	}
    
    
    @Column(name="S_ID", length=32)
    public String getSid() {
		return sid;
	}
    
    public void setSid(String sid) {
		this.sid = sid;
	}
    
    @Column(name="H_ID", length=32)
    public String getHid() {
		return hid;
	}
    
    public void setHid(String hid) {
		this.hid = hid;
	}
    
    @Column(name="H_NAME")

    public String getHname() {
		return hname;
	}
    
    public void setHname(String hname) {
		this.hname = hname;
	}
    
    @Column(name="H_PRICE", precision=10, scale=0)
    public Double getHprice() {
		return hprice;
	}
    
    public void setHprice(Double hprice) {
		this.hprice = hprice;
	}
    
    @Column(name="H_DISCOUNT", precision=5, scale=0)
    public Double getHdiscount() {
		return hdiscount;
	}
    public void setHdiscount(Double hdiscount) {
		this.hdiscount = hdiscount;
	}
    
    @Column(name="TOTAL_MONEY_ITEM", precision=10, scale=0)
    public Double getTotalMoneyItem() {
		return totalMoneyItem;
	}

	public void setTotalMoneyItem(Double totalMoneyItem) {
		this.totalMoneyItem = totalMoneyItem;
	}
     
    
    @Column(name="REAL_MONEY_ITEM")
    public Double getRealMoneyItem() {
		return realMoneyItem;
	}

	public void setRealMoneyItem(Double realMoneyItem) {
		this.realMoneyItem = realMoneyItem;
	}

    @Column(name="REAL_PRICE", precision=10, scale=0)
    public Double getRealPrice() {
		return realPrice;
	}

	
	public void setRealPrice(Double realPrice) {
		this.realPrice = realPrice;
	}
    
    @Column(name="YINCI", precision=22, scale=0)
	public String getYinci() {
		return yinci;
	}

	

	public void setYinci(String yinci) {
		this.yinci = yinci;
	}
    
    @Column(name="TY_AMOUNT", precision=22, scale=0)
    public Double getTyAmount() {
		return tyAmount;
	}
    
   

	public void setTyAmount(Double tyAmount) {
		this.tyAmount = tyAmount;
	}
    
    @Column(name="XC_AMOUNT", precision=22, scale=0)
    public Double getXcAmount() {
		return xcAmount;
	}
    
    public void setXcAmount(Double xcAmount) {
		this.xcAmount = xcAmount;
	}
    
    @Column(name="STORE_AMOUNT", precision=22, scale=0)
    public Double getStoreAmount() {
		return storeAmount;
	}
    
    public void setStoreAmount(Double storeAmount) {
		this.storeAmount = storeAmount;
	}
    
    @Column(name="LAST_AMOUNT", precision=22, scale=0)
    public Double getLastAmount() {
		return lastAmount;
	}
    
    public void setLastAmount(Double lastAmount) {
		this.lastAmount = lastAmount;
	}
    
    @Column(name="XT_CODE", length=32)

    public String getXtCode() {
        return this.xtCode;
    }
    
    public void setXtCode(String xtCode) {
        this.xtCode = xtCode;
    }
    @Column(name="SOURCE_ID")
	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}
   








}